package com.engine4cloud.tdf.admin.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "行政区划-请求对象")
public class AreaDepartQueryDTO implements Serializable {

    @Schema(description = "地区编码", example = "469006")
    @NotBlank(message = "地区编码不能为空")
    private String code;

    @Schema(description = "组织机构类型", example = "3")
    @NotBlank(message = "组织机构类型不能为空")
    private String orgType;

}
